package md.mru.transfer.optimized.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author sergiu.marin
 * @since 23.04.2014.
 */
@Entity
@Table(name = "user_groups", schema = "c##mru_optimized")
public class UserGroupLink {

    @Id
    @Column(name = "user_id")
    private long userId;

    @Column(name = "group_id")
    private long groupId;

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getGroupId() {
        return groupId;
    }

    public void setGroupId(long groupId) {
        this.groupId = groupId;
    }
}
